<?php if($news->getId() > 0): ?>
	<?php if($seoObj && ( $seoObj->getUrl()!= '')):?>
	    <?php echo  $seoObj->getUrl();?>
	    <?php echo link_to(__('Edit SEO url')
	                , 'seo/edit?id=' . $seoObj->getId() //. '&seoReturnUrl=' . base64_encode('news/edit?id=' . $news->getId())
	                , array('class' => ''))?>
	<?php else: ?>
	    <?php echo __('No SEO url set.'); ?>
	    <?php echo link_to(__('Edit SEO url')
	                , 'seo/createnew?obj_type=news&obj_action=view&obj_id=' . $news->getId()//. '&seoReturnUrl=' . base64_encode('news/edit?id=' . $news->getId())
	                , array('class' => ''))?>
	<?php endif; ?>
<?php else: ?>
    <?php echo __('Save New to edit SEO url.');?>
<?php endif; ?>
